Modularity in the LF Logical Framework

نویسندگان

  • Robert Harper
  • Frank Pfenning
چکیده

Formal deductive systems play an important role in computer science, particularly in the areas of logic and semantics of programming languages. They are employed in three different, but obviously related roles. Firstly, they are used to specify logics, type systems, operational semantics and other aspects of languages. Secondly, they form the basis for the implementation of such deductive systems. Thirdly, they provide an appropriate language for the formulation and proof of metatheorems of programming languages. The LF Logical Framework [8] has been designed to provide an appropriate language for the high-level specification of deductive systems as they occur in logic and computer science. Its basic principle is often summarized by saying that judgments (the basic unit of deductive systems) are represented as types and deductions as objects. The framework was intentionally kept weak (by excluding, for example, polymorphism and impredicative constructs) in order to better support mechanization and to allow a simple meta-theory. This has proved auspicious: algorithms for unification have been developed [5, 21] and the type theory underlying LF has been amenable to an operational interpretation which is realized in the Elf programming language [18, 19]. Furthermore, it also seems possible to express a wide range of meta-theoretic properties of deductive systems within LF, though this line of research is only in its initial stages [15]. We believe that for all three tasks, specification, implementation, and meta-theory of deductive systems, substantial benefits can be derived from explicit structuring mechanisms for the presentation of such systems. In this paper we make a concrete proposal for a module system for the Elf language which attempts to address those three central issues. Various approaches to the static and dynamic semantics of such a module calculus are possible, but beyond the scope of this paper. Here we provide only informal discussions of the meanings of various language constructs and properties. As an extended example throughout the paper we will use two formulations of minimal propositional calculus with implication and conjunction: an axiom system in the style of Hilbert and Gentzen’s calculus of natural deduction. The problem of modularity in the presentation of theories and logical system has been addressed from the semantical [10, 9] and the type-theoretic [3, 4, 25] point of view. Our design has been guided by these ideas and the pragmatic principles of the ML module system [14, 17]. For further discussion of related work, the reader is referred to Section 7.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Nuprl-Light: An Implementation Framework for Higher-Order Logics

In this paper we describe a new theorem prover architecture that is intended to facilitate mathematical sharing and modularity in formal mathematics and programming. This system provides an implementation framework in which multiple logics, including the Nuprl type theory and the Edinburgh Logical Framework (LF) can be speci ed, and even related. The system provides formal, object-oriented modu...

متن کامل

Representing Isabelle in LF

LF has been designed and successfully used as a meta-logical framework to represent and reason about object logics. Here we design a representation of the Isabelle logical framework in LF using the recently introduced module system for LF. The major novelty of our approach is that we can naturally represent the advanced Isabelle features of type classes and locales. Our representation of type c...

متن کامل

Lambda-Free Logical Frameworks

We present the definition of the logical framework TF, the Type Framework. TF is a lambda-free logical framework; that is, it does not include lambda-abstraction or product kinds. We give formal proofs of several results in the metatheory of TF, and show how it can be conservatively embedded in the logical framework LF: its judgements can be seen as the judgements of LF that are in beta-normal,...

متن کامل

Eecient Representation and Validation of Proofs

This paper presents a logical framework derived from the Edinburgh Logical Framework (LF) 5] that can be used to obtain compact representations of proofs and eecient proof checkers. These are essential ingredients of any application that manipulates proofs as rst-class objects, such as a Proof-Carrying Code 11] system, in which proofs are used to allow the easy validation of properties of safet...

متن کامل

Logical aspects of logical frameworks

This thesis provides a model–theoretic semantic analysis of aspects of the LF logical framework. The LF logical framework is the λΠ-calculus together with the judgements-as-types representation mechanism. A denotational semantics is provided for the λΠ-calculus in terms of Kripke λΠ-models. These are a generalization of the Kripke lambda models of Mitchell and Moggi to dependent types and are b...

متن کامل

Logic Programming in the LF Logical Framework

3 A Meta-Logic for Unification 4 3.1 A First-Order Unification Logic with Quantifier Dependencies . . . . . . . . . . . . . 5 3.2 Transformations for First-Order Unification . . . . . . . . . . . . . . . . . . . . . . . 6 3.3 A Unification Logic for LF . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 3.4 A Generalization of Lλ Unification to LF . . . . . . . . . . . . . . . ....

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1991